#include <bits/stdc++.h>
using namespace std;
#define LL long long
LL gcd(LL a, LL b) {
    return b == 0 ? a : gcd(b, a%b);
}
void cmp(string &a, string &b){
    int minl = min(a.size(), b.size());
    string aa = a.substr(0, minl);
    string bb = b.substr(0, minl);
    if(aa < bb) cout << '<' << endl;
    else if(aa > bb) cout << '>' << endl;
    else cout << '=' << endl;
}
int main() {
    ios_base::sync_with_stdio(false);cin.tie(nullptr);
    string a, b;
    while(cin >> a >> b){
        string ta = a, tb = b;
        if(a.size() < b.size()){
            tb += b;
            while(ta.size() < tb.size()) ta+=a;
        }else if(ta.size() > tb.size()){
            ta += a;
            while(ta.size() > tb.size()) tb+=b;
        }
        cmp(ta, tb);
    }
    return 0;
}